package lxy.contacttest.utils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by dengdayi
 * Date: 2016/06/22 16：33
 * 本地手机通讯录Bean
 */
public class ContactBean implements Serializable {
    /**
     * 联系人id
     */
    private String contact_id;
    /**
     * 联系人名字
     */
    private String name;

    private List<PhoneBean> phones=new ArrayList<>();

    private List<EmailBean> emails=new ArrayList<>();

    public ContactBean() {

    }

    public ContactBean(String name, List<PhoneBean> phones, List<EmailBean> emails) {
        this.name = name;
        this.phones = phones;
        this.emails = emails;
    }

    public ContactBean(String name) {
        this.name = name;
    }

    public String getContact_id() {
        return contact_id;
    }

    public void setContact_id(String contact_id) {
        this.contact_id = contact_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<PhoneBean> getPhones() {
        return phones;
    }

    public void setPhones(List<PhoneBean> phones) {
        this.phones = phones;
    }

    public List<EmailBean> getEmails() {
        return emails;
    }

    public void setEmails(List<EmailBean> emails) {
        this.emails = emails;
    }
}
